Nouns = []
Dict = open("part-of-speech.txt", 'r')

for eachLine in Dict:
    test = eachLine.find("	A")
    if (test != -1):
        Nouns.append(eachLine)

SaveNouns = open("Adjective.txt", 'w')
SaveNouns.writelines(noun for noun in Nouns)
SaveNouns.close()
